.editor {
  width: 100%;
  border-radius: 8px;
  border: 2px solid rgba(146, 143, 255, 0.8);
  position: relative;
  min-height: 150px;
}

.disabled_editor {
  border-color: transparent !important;
  min-height: auto !important;
}

.menu-bar {
  padding: 4px;
  height: 30px;
  line-height: 30px;
  border-bottom: 2px solid rgba(146, 143, 255, 0.8);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;

  .do-disabled {
    color: #888;
  }

  span {
    margin: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    width: 30px;
    width: 30px;

    &:hover {
      background-color: rgba(146, 143, 255, 0.4);
    }
  }
}

.tiptap {
  
  padding: 4px;
}

.ProseMirror-focused {
  outline: none;
}

.tiptap {
  :first-child {
    margin-top: 0;
  }

  /* List styles */
  ul,
  ol {
    padding: 0 1rem;
    margin: 1.25rem 1rem 1.25rem 0.4rem;

    li p {
      margin-top: 0.25em;
      margin-bottom: 0.25em;
    }
  }

  /* Heading styles */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.1;
    margin-top: 2.5rem;
    text-wrap: pretty;
  }

  h1,
  h2 {
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
  }

  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  h4,
  h5,
  h6 {
    font-size: 1rem;
  }

  code {
    background-color: rgb(222, 221, 255);
    border-radius: 0.4rem;
    font-size: 0.8rem;
    padding: 0.25em 0.3em;
  }

  pre {
    background: #F5F6F7;
    border-radius: 0.5rem;
    color: black;
    font-family: 'JetBrainsMono', monospace;
    margin: 1.5rem 0;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(146, 143, 255, 0.3);

    code {
      background: none;
      color: inherit;
      font-size: 0.8rem;
      padding: 0;
    }
  }

  blockquote {
    border-left: 3px solid rgba(146, 143, 255, 0.8);
    margin: 1.5rem 0;
    padding-left: 1rem;
  }

  hr {
    border: none;
    border-top: 1px solid rgba(146, 143, 255, 0.8);
    margin: 2rem 0;
  }
}